package org.tools.ui.rule
{
	
	/**
	 * 自动判断滑动效果
	 * @author zjm
	 */
	public interface ISlideEffectRule
	{
		/**
		 * 返回滑动类型
		 * @param	nextIndex
		 * @param	currentIndex
		 * @return  SlideEffect.UP, SlideEffect.DOWN, SlideEffect.RIGHT, SlideEffect.LEFT
		 */
		function getType(nextIndex:int, currentIndex:int):String;
	}

}

